Information processing apparatus, control method thereof, and program thereof

ABSTRACT

An information processing apparatus according to this invention acquires function restriction information used to restrict the use of functions of an image processing apparatus. The apparatus acquires job log data of a job which is processed using the functions of the image processing apparatus. The apparatus changes the acquired function restriction information. The apparatus calculates a cost incurred upon using the functions of the image processing apparatus within a designated period, based on unit price information indicating the unit prices of the resources consumed upon using the functions of the image processing apparatus, the job log data, and the changed function restriction information. The apparatus outputs the calculation result.

This application is a continuation of U.S. patent application Ser. No.11/749,482, filed May 16, 2007, the contents of which are incorporatedherein by reference.

BACKGROUND OF THE INVENTION

1. Field of the Invention

The present invention relates to an information processing apparatus forcalculating the cost incurred when functions of an image processingapparatus are used under restrictions imposed on the function, a methodthereof and a program thereof.

2. Description of the Related Art

In recent years, copying machines have not only a function of copyingdocuments, but also a plurality of different functions such as afunction of printing print jobs from external clients, a function ofdigitally externally sending scanned documents using an e-mail or filetransfer function, and the like. Such copying machine is called an MFP(Multi Function Peripheral).

The MFP has gained more functions, while a problem in terms ofinformation management such as a high risk for information leakage dueto possibility of externally sending scanned information or the like isposed. Although this is an old problem, since the cost of paper sheetsand toners increases with increasing number of printed pages, a demandhas arisen for restricting printable pages for each user.

To solve these problems, some solutions have already been proposed.

For example, Japanese Patent Laid-Open No. 11-134136 proposes a methodof managing users using IDs, and restricting functions, resources, andtimes which are available for respective IDs.

Also, for example, Japanese Patent Laid-Open No. 2003-248576 proposes aperipheral device managing system which includes peripheral devices, andan information processing apparatus such as a PC or the like which isconnected to the peripheral devices via a network. In this system, loginformation that includes the ID of the user who uses each peripheraldevice, print setting information (double-sided, single-sided), anddischarged sheet count information is stored in a log informationstorage unit. In this proposal, the information processing apparatuscollects and tabulates respective pieces of log information stored inthe peripheral devices, and calculates and displays the differencebetween the number of sheets all printed in the double-sided mode andthe actual number of discharged sheets based on the log information anda reduction ratio based on the difference.

However, the aforementioned prior arts cannot determine an actual costreduction amount and cannot estimate a cost reduction amount in thefuture as a result of restrictions imposed on functions (to be simplyreferred to as function restrictions hereinafter). For this reason, itbecomes difficult to change the function restrictions, and users oftencontinue to use the system without changing the function restrictions.

However, since the amount of printing changes depending on the season, aseason with a larger amount of printing may require extra functionrestrictions to further reduce the cost, and a season with a smalleramount of printing may result in a low cost constraint effect.

SUMMARY OF THE INVENTION

The present invention allows realization of an information apparatus, amethod thereof, and a program thereof to implement appropriate functionrestrictions, and to easily figure out cost efficiency with respect toactual processing.

According to one aspect of the present invention, the foregoing problemis solved by providing an information processing apparatus forcalculating a consumption amount of a resource upon using a function ofan image processing apparatus, that processes a received job, within arange of function restriction information so as to simulate theconsumption amount, the apparatus comprising a first acquisition unitadapted to acquire function restriction information used to restrict useof the function of the image processing apparatus, a second acquisitionunit adapted to acquire job log data of a job processed using thefunction of the image processing apparatus, a change unit adapted tochange the function restriction information acquired by the firstacquisition unit, a calculation unit adapted to calculate theconsumption amount of the resource upon using the function of the imageprocessing apparatus based on the job log data acquired by the secondacquisition unit and the function restriction information changed by thechange unit, so as to simulate the consumption amount and an output unitadapted to output the calculation result of the calculation unit.

According to another aspect of the present invention, the foregoingproblem is solved by providing a method of controlling an informationprocessing apparatus for calculating a consumption amount of a resourceupon using a function of an image processing apparatus, that processes areceived job, within a range of function restriction information so asto simulate the consumption amount, the method comprising the steps ofacquiring function restriction information used to restrict use of thefunction of the image processing apparatus, acquiring job log data of ajob processed using the function of the image processing apparatuschanging the acquired function restriction information, calculating theconsumption amount of the resource upon using the function of the imageprocessing apparatus based on the acquired job log data and the changedfunction restriction information so as to simulate the consumptionamount, and outputting the calculation result.

Further features of the present invention will become apparent from thefollowing description of exemplary embodiments with reference to theattached drawings.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a block diagram showing the functional arrangement of a devicemanaging system according to the first embodiment of the presentinvention;

FIG. 2 is a view showing one layout example of respective functionalelements in the device managing system according to the first embodimentof the present invention;

FIG. 3 is a block diagram showing the arrangement of an informationprocessing apparatus according to the first embodiment of the presentinvention;

FIG. 4 is a block diagram showing the arrangement of a device accordingto the first embodiment of the present invention;

FIG. 5 is a block diagram showing the functional arrangement of an MFPaccording to the first embodiment of the present invention;

FIG. 6 shows job data according to the first embodiment of the presentinvention;

FIG. 7 shows a practical example of an ACT 107 according to the firstembodiment of the present invention;

FIG. 8 is a flowchart showing the operation of a job account serveraccording to the first embodiment of the present invention;

FIG. 9 shows a user interface example of a cost calculating applicationaccording to the first embodiment of the present invention;

FIG. 10 shows an example of a toner unit price setting dialog accordingto the first embodiment of the present invention;

FIG. 11 shows a paper unit price setting dialog according to the firstembodiment of the present invention;

FIG. 12 is a flowchart showing the operation of the cost calculatingapplication according to the first embodiment of the present invention;

FIG. 13 shows an example of a job log recorded by the job account serveraccording to the first embodiment of the present invention;

FIG. 14 is a flowchart showing the simulation by the cost calculatingapplication according to the first embodiment of the present invention;

FIG. 15 shows an example when function restrictions according to thesecond embodiment of the present invention are changed for respectiveroles; and

FIG. 16 shows the memory map of a CD-ROM as an example of a storagemedium.

DESCRIPTION OF THE EMBODIMENTS

Preferred embodiments of the present invention will now be described indetail with reference to the drawings. It should be noted that therelative arrangement of the components, the numerical expressions andnumerical values set forth in these embodiments do not limit the scopeof the present invention unless it is specifically stated otherwise.

<First Embodiment>

FIG. 1 is a block diagram showing the functional arrangement of a devicemanaging system according to the first embodiment of the presentinvention.

Referring to FIG. 1, reference numeral 101 denotes a user informationserver which holds user IDs and passwords, and function restrictioninformation indicating functions each user is permitted to use in thesystem. The user information server 101 is implemented using a server,for example, an LDAP server, Active Directory server, or the like.

Note that LDAP is a short for Lightweight Directory Access Protocol.

Reference numeral 102 denotes a ticket issuing server. This ticketissuing server 102 issues a ticket that describes information aboutusable functions and an upper limit print count based on the functionrestriction information for each user managed by the user informationserver 101 and job execution records, stored in a counting server 106,of each user who issues jobs. This ticket is called an access controltoken (ACT) 107.

Reference numeral 103 denotes a printer driver. The printer driver 103runs on a client PC (not shown). Upon using that client PC, the usermust log in to that PC to identify who uses that client PC.

Reference numeral 104 denotes a multi function peripheral (MFP) as oneof devices. The MFP 104 has not only a copy function of copying paperdocuments, but also a print function of printing print data sent fromthe external printer driver 103. Furthermore, the MFP 104 has a function(SEND function) of scanning paper documents and sending the scannedimage data to an external file server or a mail address.

Reference numeral 105 denotes a counting client. The counting client 105runs on each MFP, and notifies the counting server 106 of each user onthat MFP.

The counting client 105 may tabularize the job execution records over aplurality of devices (e.g., printers). The job execution records includeprinted page counts and the like. In this way, the counting client 105can hold job execution records of respective users in the data managingsystem.

Reference numeral 106 denotes a counting server. The counting server 106tabularizes job execution records for respective users notified by thecounting client 105 for a plurality of printing devices (in the firstembodiment, the MFP 104 and an MFP 109). The counting server 106 thenholds the print records of respective users in the whole system. In thiscase, the counting server 106 collects job execution records, which areacquired from the MFPs 104 and 109, via the counting client 105 and acounting client 110.

The ACT 107 is an access control token (ACT) which describes informationabout functions that each user can execute on the MFPs 104 and 109 or anupper limit printable page count for that user, as described above. Theticket issuing server 102 generates the ACT 107 based on an ACT issuingrequest from the printer driver 103 to the ticket issuing server 102,and returns the generated ACT 107 to the printer driver 103.

The printer driver 103 appends that ACT 107 to a print job, and sendsthe print job to the MFP 104 or 109. That is, the ACT 107 is passed fromthe ticket issuing server 102 to the MFP 104 or 109 via the printerdriver 103.

A printer driver 108, the MFP 109, the counting client 110, and a ticketissuing server 111 make the same operations as those of theaforementioned ones.

Reference numeral 112 denotes a job account server. The job accountserver 112 acquires job logs from the MFPs 104 and 109, and stores themin a job account database (DB) 113 which serves as a job log database.By searching this job account DB 113, the job outputs of the wholedevice managing system can be analyzed.

Reference numeral 114 denotes a cost calculating server which calculatesthe cost using a cost calculating application 114 a. Principal functionsof the cost calculating application 114 a include a cost calculatingmodule associated with print cost according to the function restrictionsof the device for respective users or departments. Also, the principalfunctions include a cost calculation UI control module which allows forchanging the function restrictions of the device for respective users ordepartments via a cost calculation window (FIG. 9: to be describedlater) and displays the print cost required after change. Note thatdetails of the processing of the cost calculating application 114 a willbe described later.

A sequence of operations from creation of a job until counting of jobexecution records will be described below.

(1) The printer driver 103 sends an ACT issuing request appended withidentification of a user who wants to issue a job to the ticket issuingserver 102.

(2) The ticket issuing server 102 acquires function restrictioninformation corresponding to the user who wants to issue a job, of thosestored in the user information server 101.

(3) The ticket issuing server 102 further acquires the job executionrecord corresponding to the user who issued an ACT send request from thecounting server 106.

(4) The ticket issuing server 102 determines setting contents of a jobpermitted to the user based on the acquired function restrictioninformation and job execution record.

(5) The ticket issuing server 102 generates an ACT 107 that reflects thedetermined setting contents of the job. The ticket issuing server 102appends a digital signature to the ACT 107 to prove that the ticketissuing server 102 issued that ACT, and sends the ACT 107 to the printerdriver 103.

(6) The printer driver 103 outputs the job and ACT 107 to the MFP 104 or109 to control it to execute the job.

(7) The counting client 105 collects the records in the MFPs 104 and109.

(8) The counting client 105 sends the collected records to the countingserver 106.

(9) The job account server 112 collects job logs (job log data) from theMFPs 104 and 109 and stores them in the job account DB 113 which servesas a job log database.

(10) The cost calculating server 114 calculates the cost and changes thefunction restrictions using the cost calculating application 114 a.

Note that the device managing system of the first embodiment isconfigured by the devices, servers, and client PCs connected on thenetwork. As this device managing system, the first embodiment willexemplify a print managing system which imposes limitations on accessesand restrictions on job execution such as printable counts and the likeby users who use the devices. Note that the users include individualusers, departments, organizations, and the like.

One layout example of respective functional elements in the devicemanaging system shown in FIG. 1 will be described below using FIG. 2.

FIG. 2 shows one layout example of respective functional elements in thedevice managing system according to the first embodiment of the presentinvention.

Referring to FIG. 2, reference numerals 211 and 212 denote client PCs.The printer drivers 103 and 108 in FIG. 1 run on the client PC 211 or212.

Reference numeral 221 denotes a server PC. The user information server101, ticket issuing server 102, counting server 106, and job accountserver 112 shown in FIG. 1 run on the server PC 221. Note that variousservers shown in FIG. 1 may run on one server PC 221. Alternatively,various servers shown in FIG. 1 may run on individual server PCs 221depending on their use applications or purposes intended, or they mayrun on one server PC 221 in arbitrary combinations.

For example, the functions of the user information server 101, ticketissuing server 102, counting server 106, and job account server 112 maybe consolidated to form a function restriction server used to manage thefunction restrictions of the MFPs 104 and 109 as devices. In this case,this function restriction server comprises a function restriction serverwhich at least manages function restriction information of each devicefor predetermined units (e.g., users, departments, roles, and the like).Also, the function restriction server comprises an ACT issuing unitwhich issues an ACT with reference to that function restrictiondatabase, and an edit UI control unit which edits the functionrestriction information via a UI.

Note that the function restriction information is used to give theinstruction for permission or inhibition of use of each functionprovided by the device. The device has a plurality of types of functionssuch as PDL print, copy, FAX, send, and the like, and the functionrestriction information can give the instruction for permission orinhibition of use of each function. Also, the function restrictioninformation can restrict the amount of output for each function or canrestrict the output format. The function restriction information can bemanaged for respective users or can be managed for respective groups(departments) including one or more users or for respective roles.

Reference numerals 231 and 232 denote image processing apparatuses(e.g., multi function peripherals) which correspond to the MFPs 104 and109 shown in FIG. 1.

The client PCs 211 and 212, server PC 221, and image processingapparatuses 231 and 232 are connected to each other via a network 201,and exchange information via the network 201.

Note that the network 201 is typically implemented by one of theInternet, a LAN, WAN, telephone line, dedicated digital line, ATM orframe relay line, communication satellite line, cable TV line, databroadcast wireless line, and the like. Or the network 201 is a so-calledcommunication network implemented by a combination of these lines, andneed only be used to exchange data.

The configuration shown in FIG. 1 is merely an example. For this reason,all of the clients, servers, and printer drivers except for the MFPs inFIG. 1 may be implemented on client computers or they may be implementedusing some server computers.

Interfaces between neighboring building components of the system in FIG.1 may respectively be physical communication media such as a CPU bus andthe like or may be configured by logical interfaces for messagecommunications implemented by software. The aforementioned functionalcomponents may execute respective functions when a CPU executesprograms, or may be implemented as hardware circuits.

Note that the interfaces between the neighboring building components inthe system shown in FIG. 1 include, for example, an interface betweenthe printer driver 103 and ticket issuing server 102, and an interfacebetween the ticket issuing server 102 and counting server 106. Also, theinterfaces include an interface between the ticket issuing server 102and user information server 101, and an interface between the countingclient 105 and counting server 106.

The client PCs 211 and 212 belong to the same domain as the server PC221 on which the user information server 101 runs, and user IDs andpasswords are managed by the user information server 101. When the useruses the client PC 211 or 212, he or she must log on to the domain atthe beginning of use.

An example of the internal arrangement of an information processingapparatus which implements the client PC 211 or 212 or the server PC 221will be described below using FIG. 3.

FIG. 3 is a block diagram showing the arrangement of an informationprocessing apparatus according to the first embodiment of the presentinvention.

Referring to FIG. 3, reference numeral 301 denotes a CPU, that is, acentral processing unit, which executes control, arithmetic processing,and the like of the overall computer apparatus. Reference numeral 302denotes a ROM, that is, a read-only memory, which provides a storagearea of various data such as a system startup program, applications,parameters, and the like. Reference numeral 303 denotes a RAM, that is,a random-access memory, which provides a data storage area free from uselimitations. This RAM 303 provides an area on which programs such as anoperating system, applications, device drivers, communication controlprograms, and the like are loaded and executed.

Reference numeral 304 denotes an input controller which receives inputdata from a keyboard and pointing device (e.g., a mouse) as inputdevices, and transfers the received data to the CPU 301. Referencenumeral 305 denotes a display controller which executes display controlof a display device. Note that the display device includes a CRT, LCD,and the like.

Reference numeral 306 denotes a storage unit. This storage unit 306 is aso-called external storage device, which includes, for example, aFloppy® disk drive, hard disk drive, and SRAM (nonvolatile memory). Thisstorage unit 306 stores programs and data, and refers to or loads themonto the RAM 303 as needed when they are executed. Reference numeral 307denotes a communication unit which executes network communicationcontrol, and can communicate with other computers (e.g., PCs) andperipheral devices (e.g., the MFP 104) connected on the network 201shown in FIG. 2. Reference numeral 308 denotes a system bus whichinterconnects the aforementioned building components and implements adata exchange channel.

An example of the internal arrangement of the device (image processingapparatus) which implements the multi function peripheral 231 or 232will be described below using FIG. 4.

FIG. 4 is a block diagram showing the arrangement of the deviceaccording to the first embodiment of the present invention.

Referring to FIG. 4, reference numeral 405 denotes a controller unitwhich controls the overall device. As the internal arrangement of thecontroller unit 405, reference numeral 401 denotes a CPU, that is, acentral processing unit, which executes control, arithmetic processing,and the like of this controller unit 405. Reference numeral 402 denotesa ROM, that is, a read-only memory, which provides a storage area ofvarious data such as a system startup program, applications, parameters,and the like. Reference numeral 403 denotes a RAM, that is, arandom-access memory, which provides a data storage area free from uselimitations. Reference numeral 404 denotes a storage unit. This storageunit 404 is a so-called external storage device, which includes, forexample, a hard disk drive, SRAM, and the like.

This RAM 403 provides an area on which programs such as an operatingsystem, communication control programs, engine control programs, and thelike are loaded and executed. Reference numeral 406 denotes aninput/output engine unit which executes a print operation and imagescanning operation under the control of the controller unit 405. As apractical example, the input/output engine unit 406 comprises a printerengine which executes printing based on a print system such as a laserbeam system or the like, and a scanner engine which has a paper feedmechanism such as an ADF or the like.

Reference numeral 407 denotes a communication unit which executesnetwork communication control, and can communicate with PCs which serveas client computers and server computers on the network 201 shown inFIG. 2. Reference numeral 408 denotes a user operation input/outputunit, which makes interactive setting operations with the user. Thisuser operation input/output unit 408 comprises, for example, a touchpanel, an input device including various keys, buttons, and the like,and a display device. Reference numeral 409 denotes a system bus, whichinterconnects the aforementioned building components and implements adata exchange channel.

An example of the functional arrangement of the MFP 104 or 109 will bedescribed below using FIG. 5.

FIG. 5 is a block diagram showing the functional arrangement of the MFPaccording to the first embodiment of the present invention.

Referring to FIG. 5, the MFP 104 (multi function peripheral 231) or 109(multi function peripheral 232) receives a print job (job data) from theclient PC 211 or 212.

Reference numeral 501 denotes an interface unit which receives a printjob. Reference numeral 502 denotes an ACT checking unit 502 whichinterprets the received print job to check if a restriction ticket isappended. Reference numeral 503 denotes a print job attributerestriction unit which restricts (degenerates) attribute information ofthe print job based on the restriction information described in an ACTand notifies the subsequent units of that attribute information, whenthe ACT is appended.

Reference numeral 508 denotes a GUI (Graphical User Interface) unit,which controls a control panel (not shown) to set and display theoperation of the print job restriction unit 503. Reference numeral 504denotes a print data storage unit, which temporarily stores print data,i.e., PDL (Page Description Language) data included in the print job.

Reference numeral 509 denotes a job management unit, which temporarilystores attribute information such as the user name of the print job, itsrole, the number of logical pages, page layout information, the numberof pages to be printed and monochrome/color designation, a paper type,and the like. A print data interpretation unit 505 executes imageforming processing by acquiring PDL data from the print data storageunit 504 in accordance with the attribute information stored in the jobmanagement unit 509, thus generating image data.

Reference numeral 506 denotes an image storage unit, which temporarilystores the image data generated by the print data interpretation unit505 until its printing is completed. Reference numeral 507 denotes aprint engine unit, which actually prints image data stored in the imagestorage unit 506 on media such as print sheets and the like using aknown print technique such as an electrophotography technique, ink-jettechnique, or the like.

Reference numeral 510 denotes a job log storage unit, which records theattributes of the job such as the user name, role, and the like storedin the job management unit 509, and the print result such as the numberof pages, the number of sheets, color mode, and the like of the printprocessing by the print engine unit 507, upon completion of execution ofthe job.

An example of job data will be described below using FIG. 6.

FIG. 6 shows job data according to the first embodiment of the presentinvention.

The job data includes authentication information 601 which indicates whothe user that issued the job is, an access control ticket or token 602,and a body field 603 indicating the job contents to be requested to theMFP. The body field 603 includes PDL data. Note that the access controltoken 602 shown in FIG. 6 corresponds to the access control token (ACT)107 which is received by the printer driver 103 from the ticket issuingserver 102 in FIG. 1.

Upon reception of the job data, the MFP 104 compares a list of availablefunctions described in the access control ticket 602 of the received jobdata with the request contents described in the body field 603. As aresult, if the request contents are included in the available functions,the MFP 104 executes the job in accordance with the request contents.Otherwise, the MFP 104 cancels that job.

A practical example of the ACT 107 will be described below using FIG. 7.

FIG. 7 shows a practical example of the ACT according to the firstembodiment of the present invention.

The ACT has an XML (Extensible Markup Language) format, and is describedin the form of <tag>contents</tag>.

<UserName>Yamada</UserName> of the ACT in FIG. 7 indicates that the username is Yamada. The user name is used in user authentication when theuser logs on to the client PC.

Tags <Role>-</Role> indicate that a role upon determining functionrestrictions is User. Tags <DeviceAccessControl>-</DeviceAccessControl>indicate functions of the MFP that are permitted or inhibited for use.

Tags <Duplex>-</Duplex> indicate permission or inhibition ofdouble-sided printing, and “Deny” indicates that double-sided printingis inhibited. Tags <PageLayout>-</PageLayout> indicate a minimum pagelayout, and that it is 2. “Minimum page layout” indicates the minimumnumber of logical pages (pages of a document) to be laid out per face ofa sheet. For example, if the value of “minimum page layout” is 2, itindicates that two or more logical pages are indispensable to be laidout per face of a sheet. Tags <FullColor>-</FullColor> indicatepermission or inhibition of color printing, and “Deny” indicates thatcolor printing is inhibited.

The operation of the job account server 112 will be described belowusing FIG. 8.

FIG. 8 is a flowchart showing the operation of the job account serveraccording to the first embodiment of the present invention.

Note that the flowchart shown in FIG. 8 is implemented when the CPU 301of the job account server 112 executes a program stored in, for example,the ROM 302.

In step S801, the CPU 301 acquires a device list under the management ofthe job account server 112 from the storage unit 306. This device listmanages device information about respective devices such as the MFPs 104and 109.

The CPU 301 then checks in step S802 if all processes about devices onthe device list acquired in step S801 are complete. If all the processesare complete (YES in step S802), the CPU 301 ends the processing. If allthe processes are not complete yet (NO in step S802), the processadvances to step S803.

In step S803, the CPU 301 acquires a registered job log number from thestorage unit 306. Each of the MFPs 104 and 109 records a job log andappends a job log number used to uniquely specify the job log uponcompletion of a job. Note that the job log number is an integer whichincrements one by one from 1.

In step S804, the CPU 301 acquires the latest job log number from atarget device. In step S805, the CPU 301 acquires logs (job logs) to beread from the target device. Note that the difference between the latestjob log number acquired in step S804 and the registered job log numberacquired in step S803 corresponds to logs to be read.

In step S806, the CPU 301 registers the job logs acquired in step S805in the job account DB 113. In step S807, the CPU 301 records the latestjob log number acquired in step S804 in the storage unit 306 as theregistered job log number.

A user interface example of the cost calculating application 114 a willbe described below using FIG. 9.

FIG. 9 shows a user interface example of the cost calculatingapplication according to the first embodiment of the present invention.

On the cost calculating server 114 which installs the cost calculatingapplication 114 a, the cost calculating application 114 a generates acost calculating window 900 which displays the cost calculation results.The user can make character inputs and point inputs on this costcalculating window 900 using a keyboard and pointing device (e.g., amouse) of the cost calculating server 114.

Reference numeral 901 denotes a function restriction table (previousmonth function restriction table) which indicates the functionrestrictions for respective departments until the previous month. Notethat one month is set as a unit period. However, the present inventionis not limited to such specific unit period. Rows include restrictionitems (single-side inhibition, minimum page layout, and colorinhibition), and columns include department items (administrativedepartment, planning department, and design department).

Check boxes are controls used to designate application/non-applicationof corresponding restrictions. A check box with a check indicates thatthe corresponding restriction is to be applied, and a check box withoutany check indicates that the corresponding restriction is not to beapplied. This check operation is implemented by clicking the mousebutton, and the check box is cyclically checked/unchecked in response tobutton clicking.

Of the restriction items, “single-sided inhibition” is a restrictionthat permits only double-sided printing. “Minimum page layout” indicatesthe minimum number of logical pages (pages of a document) to be laid outper face of a sheet. For example, if the value of “minimum page layout”is 2, it indicates that two or more logical pages are indispensable tobe laid out per face of a sheet. “Color inhibition” is a restrictionwhich inhibits color printing, that is, permits only monochromeprinting.

Reference numeral 902 denotes a print cost table which shows print costsof the previous month of the departments shown in the functionrestriction table 901. The second leftmost cell indicates the cost ofthe previous month of the administrative department, the third andfourth cells indicate those of the planning department and designdepartment, and the rightmost cell indicates the total cost of all thedepartments.

Reference numeral 903 denotes a temporary function restriction table(next month function restriction table) which sets temporary functionrestrictions used to simulate the cost after the next month. Thetemporary function restriction table 903 has the same contents as thefunction restriction table 901.

Reference numeral 905 denotes a toner unit price button, which is acontrol used to set a unit price for each paper size and for each colormode. Reference numeral 906 denotes a paper unit price button which is acontrol used to set a unit price for each paper size and for each papertype.

In this way, the cost calculating window 900 allows the operator to setand manage unit prices of resources (printing materials such as toners,inks, and the like, print media such as paper sheets, and the like) tobe consumed upon using the functions of the device.

Reference numeral 907 denotes a simulation button, which is used tocalculate the costs of the next month when the restrictions set on thetemporary function restriction table 903 are applied, and to display thecalculation results on a predicted cost table 904. Note that thepredicted cost table 904 is a table used to display the simulated costsin the same order as in the print cost table 902.

Reference numeral 908 denotes a reflection button which is a controlused to write the restrictions set on the temporary function restrictiontable 903 in the storage unit 306, and to change the functionrestriction information. Upon operation of this reflection button 908,the changed function restriction information is reflected (updated) inthe function restriction database in the server (user information server101, ticket issuing server 102, and the like) which serves as thefunction restriction server.

Reference numeral 909 denotes radio buttons which are controls used toswitch a target period, and to designate a term of job logs used tocalculate the costs. In FIG. 9, a black dot indicates “select”, and awhite dot indicates “deselect”. Note that one of “previous period” and“same period last year” can be designated as the period. “Previousperiod” indicates a period immediately before the current period, and“same period last year” indicates the same period of the last year.Assume that one month is set as a unit period of the cost calculation,and the current period is November 2005. If “previous period” isdesignated, the costs are calculated for October 2005; if “same periodlast year” is designated, the costs are calculated for October 2004.

Upon operation of the toner unit price button 905 on the costcalculating window 900, a toner unit price setting dialog 1000 shown inFIG. 10 is displayed. Reference numeral 1001 denotes a toner unit pricetable, which allows the operator to set unit prices for respective papersizes and for respective color modes to be used upon full-page printing.“Single color” is a case wherein only one type of toner other than blackis used. T11 to T43 are numerical values to be arbitrarily set by thesystem administrator. Reference numeral 1002 denotes an OK button. Uponoperation of this OK button 1002, the contents of the toner unit pricetable 1001 are saved, and display of the toner unit price setting dialog1000 quits. Reference numeral 1003 denotes a cancel button. Uponoperation of the cancel button 1003, display of the toner unit pricesetting dialog 1000 quits without saving the contents of the toner unitprice table 1001.

Upon operation of the paper unit price button 906 on the costcalculation window 900, a paper unit price setting dialog 1100 shown inFIG. 11 is displayed. Reference numeral 1101 denotes a paper unit pricetable, which allows the operator to set unit prices per sheet forrespective paper sizes and for respective paper types. P11 to P44 arenumerical values to be arbitrarily set by the system administrator.Reference numeral 1102 denotes an OK button. Upon operation of this OKbutton 1102, the contents of the paper unit price table 1101 are saved,and display of the paper unit price setting dialog 1100 quits. Referencenumeral 1103 denotes a cancel button. Upon operation of the cancelbutton 1103, display of the paper unit price setting dialog 1100 quitswithout saving the contents of the paper unit price table 1101.

In this way, the cost calculating window 900 displays the functionrestriction table 901 in contrast with the print cost table 902, and thetemporary function restriction table 903 in contrast with the predictedcost table 904. In this way, the user can easily figure out the printcosts required for the current function restrictions andincrements/decrements of those predicted when the function restrictionsare changed.

Since the user can determine settlement of changes of the functionrestrictions after confirmation of the increments/decrements of thepredicted print costs as needed, system management closer to a functionrestriction state that the user intended can be implemented.

The operation of the cost calculating application 114 a on the costcalculating server 114 will be described below using FIG. 12.

FIG. 12 is a flowchart showing the operation of the cost calculatingapplication according to the first embodiment of the present invention.

Note that the operation of the cost calculating application 114 a shownin FIG. 12 is that upon generating various kinds of information whichform the cost calculating window 900 shown in FIG. 9, and displayingthem on the cost calculating window 900. Also, the operation of the costcalculating application 114 a is implemented under the control of theCPU 301 of the cost calculating server 114.

In step S1201, the CPU 301 loads the toner unit price table as anexample of unit price information from the storage unit 306. In stepS1202, the CPU 301 loads the paper unit price table from the storageunit 306. In step S1203, the CPU 301 loads functional restrictioninformation for respective departments from the user information server101.

In step S1204, the CPU 301 issues an API to the OS (Operating System) toacquire the current date and time, and sets a month immediately beforethe current month as a target period.

The CPU 301 checks in step S1205 if the total costs of the individualdepartments have been calculated for all the departments included in thefunction restriction information acquired in step S1203. If the totalcosts of the individual departments have been calculated for all thedepartments (YES in step S1205), the process advances to step S1206. Instep S1206, the CPU 301 generates and displays the cost calculatingwindow 900 using the calculated costs.

On the other hand, if the total costs of the individual departments havenot been calculated yet for all the departments (NO in step S1205), theprocess advances to step S1207.

In step S1207, the CPU 301 selects one department to be processed, andsets the total cost of that department to zero.

In step S1208, the CPU 301 issues, to the job account DB 113, aninstruction (job log instruction) for acquiring job logs of thedepartment selected in step S1207 for the target period set in stepS1204.

The CPU 301 checks in step S1209 if all job logs have been processed. Ifall the job logs have been processed (YES in step S1209), the processadvances to step S1205. On the other hand, if all the job logs have notbeen processed yet (NO in step S1209), the process advances to stepS1210.

In step S1210, the CPU 301 acquires one job log to be processed based onthe result in step S1208. In step S1211, the CPU 301 calculates the costof the job log. Let CJ be the cost of a job log. Then, CJ is calculatedby:CJ=number of pages×toner cost+number of sheets×paper cost

For example, when the toner unit price table 1001 and paper unit pricetable 1101 are applied to a job log shown in FIG. 13, since the job logincludes the number of pages=6, color mode=color, paper size=A4, papertype=plain paper, and the number of sheets=6, CJ is:CJ=6×T22+6×P21

In step S1212, the CPU 301 adds the job log cost in step S1211 to thetotal cost of the department which is being calculated, and the processreturns to step S1209.

The simulation to be executed by the cost calculating application 114 aupon operation of the simulation button 907 on the cost calculatingwindow 900 will be described below using the flowchart of FIG. 14.

FIG. 14 is a flowchart showing the simulation to be executed by the costcalculating application according to the first embodiment of the presentinvention.

Note that the processes in steps S1401 to S1410 are the same as those insteps S1201 to S1210 shown in FIG. 12, and a detailed descriptionthereof will be omitted.

In step S1411, the CPU 301 acquires function restrictions set for thedepartment to be processed from the temporary function restriction table903 which is being edited on the cost calculating window 900 in FIG. 9.

In step S1412, the CPU 301 reconfigures the job log taking the functionrestrictions acquired in step S1411 into consideration.

Practical processing contents will be described below using the costcalculating window 900 in FIG. 9 and the example of the job log shown inFIG. 13. The current function restrictions of the department “planningdepartment” on the temporary function restriction table 903 in FIG. 9are “single-sided inhibition” and “minimum page layout: 4”. When thesefunction restrictions are applied to the job log in FIG. 13, the job logis changed as follows.Number of pages=number of logical pages/page layout=12/4=3Number of sheets=value obtained by counting fractions as one of (numberof pages/(2 for double-sided or 1 for single-sided))=3/2=2

In step S1413, the CPU 301 calculates the cost of the job log as in stepS1211. Let CJ1 be a new cost. Then, CJ1 is calculated by:CJ1=3×T22+2×P21That is, the CPU 301 calculates the amount of consumption of papersheets as an example of the resources after the function restrictionsare set by calculating the number of sheets. The CPU 301 also calculatesthe amount of consumption of toners and the like as an example of theresources after the function restrictions are set by calculating thenumber of pages. Then, the CPU 301 calculates the cost using the numberof pages, the number of sheets, and unit prices of respective resourcesas the values associated with the amount of consumption of theseresources.

Upon comparison with the cost CJ calculated in step S1211, theirdifference is given by:

$\begin{matrix}{{Difference} = {{CJ} - {{CJ}\; 1}}} \\{= {\left( {{6 \times T\; 22} + {6 \times P\; 21}} \right) -}} \\{\left( {{3 \times T\; 22} + {2 \times P\; 21}} \right)} \\{= {{3 \times T\; 22} + {4 \times P\; 21}}}\end{matrix}$

The sum total of such differences becomes the difference of the totalcost of each department before and after changes of the functionrestrictions.

In step S1414, the job log cost in step S1211 is added to the total costof the department which is being calculated, and the process returns tostep S1209.

In step S1406, the calculation result obtained via the processes insteps S1409 to S1414 is reflected (updated) in the predicted cost table904 on the cost calculating window 900 shown in FIG. 9. Also, thereduction of the amounts of consumption of the respective resources uponapplication of the function restrictions can be displayed. For example,assume that 2-UP printing and double-sided printing are forcibly set asfunction restrictions. How many sheets are consumed in such case can becalculated using the job log.

As described above, according to the first embodiment, the user caneasily confirm a cost reduction or increase after the functionrestrictions are imposed. In this way, more appropriate functionrestrictions can be set according to the cost which can be carried interms of printing, and printout results which are more appropriatelysuited to the purposes intended can be obtained within the range of theallocated cost.

<Second Embodiment>

In the arrangement of the first embodiment, the method of changing thefunction restrictions for respective departments has been described.This embodiment will describe an example in which the present inventionis applied to respective roles in place of the departments. A roledescribes a set of access authorities based on the role of each user.

FIG. 15 shows a function restriction table obtained by re-configuringthe function restriction table 901 on the cost calculating window 900shown in FIG. 9 for respective roles.

FIG. 15 shows, for example, three kinds of roles: GeneralUser (generaluser), Manager (manager), and Administrator (administrator). In thiscase, the function restrictions are managed for respective roles inplace of the departments.

A program which runs on each of the devices such as the computers(client PCs 211 and 212 and server PC 221) and multi functionperipherals 231 and 231 may be externally installed and may be executedby the device. In this case, an information group including that programis loaded onto the device from an external storage medium such as aCD-ROM, flash memory, Floppy® disk, or the like or via an e-mail messageor a network such as personal computer communications or the like. Thepresent invention can also be applied to a case wherein the program issupplied to the device in this way.

FIG. 16 shows the memory map of a CD-ROM as an example of the storagemedium.

Reference numeral 9999 denotes an area that stores directoryinformation, which indicate the locations of subsequent areas, that is,an area 9998 that stores an installation program, and an area 9997 thatstores the control program of the print clients or network printers. Thearea 9998 stores the installation program. The area 9997 stores thecontrol program of the computer or the multi function peripheral.

Upon installing the control program of the computer or multi functionperipheral according to the present invention in the computer or multifunction peripheral, the installation program stored in the area 9998that stores the installation program is loaded onto the system, and isexecuted by the CPU 301. The installation program executed by the CPU301 then reads out the control program from the area 9997, and installsthe readout program in the computer or multi function peripheral.

The first and second embodiments have exemplified the case wherein theprint costs are calculated upon using the print function of the MFP 104or 109. However, the present invention is not limited to this. Forexample, the present invention can be applied to a case wherein thecosts incurred upon using each of available functions (e.g., a scannerfunction, FAX function, and data send function) of the MFP 104 or 109are calculated.

<Other Embodiments>

The preferred embodiments of the present invention have been explained,and the present invention can be practiced in the forms of a system,apparatus, method, program, storage medium (recording medium), and thelike. More specifically, the present invention can be applied to eithera system constituted by a plurality of devices, or an apparatusconsisting of a single equipment.

Note that the present invention includes the following case. That is, aprogram of software that implements the functions of the aforementionedembodiments (programs corresponding to the illustrated flowcharts in theabove embodiments) is directly or remotely supplied to a system orapparatus. Then, the invention is achieved by reading out and executingthe supplied program code by a computer of that system or apparatus.

Therefore, the program code itself installed in a computer to implementthe functional processing of the present invention using the computerimplements the present invention. That is, the present inventionincludes the computer program itself for implementing the functionalprocessing of the present invention.

In this case, the form of program is not particularly limited, and anobject code, a program to be executed by an interpreter, script data tobe supplied to an OS, and the like may be used as long as they have theprogram function.

A recording medium for supplying the program, for example, includes aFloppy® disk, hard disk, and optical disk. Furthermore, the recordingmedium includes a magneto-optical disk, MO, CD-ROM, CD-R, CD-RW,magnetic tape, nonvolatile memory card, ROM, DVD (DVD-ROM, DVD-R), andthe like.

As another program supply method, connection is established to a homepage on the Internet using a browser of a client computer. Then, theprogram may be supplied by downloading the computer program itself ofthe present invention or a compressed file containing an automaticinstallation function from the home page to a recording medium such as ahard disk or the like. Also, the program code that forms the program ofthe present invention may be segmented into a plurality of files, whichmay be downloaded from different home pages. That is, the presentinvention includes a WWW server which makes a plurality of usersdownload a program file required to implement the functional processingof the present invention by the computer.

Also, a storage medium such as a CD-ROM or the like, which stores theencrypted program of the present invention, may be delivered to theuser. The user who has cleared a predetermined condition may be allowedto download key information that decrypts the encrypted program from ahome page via the Internet. The encrypted program may be executed usingthat key information to be installed on a computer, thus implementingthe present invention.

The functions of the aforementioned embodiments may be implemented byexecuting the readout program. In addition, the functions of theaforementioned embodiments may also be implemented by some or all ofactual processing operations executed by an OS or the like running onthe computer based on an instruction of that program.

Furthermore, the functions of the aforementioned embodiments can beimplemented after the program read out from the recording medium iswritten in a memory of an expansion board or a function expansion unitwhich is inserted into or connected to the computer. That is, thefunctions of the aforementioned embodiments can also be implemented bysome or all of actual processes executed by a CPU or the like arrangedin the function expansion board or unit based on the instruction of thatprogram.

According to this embodiment, an information processing apparatus whichcan implement more appropriate function restrictions according to thegiven costs, and allows the user to easily recognize cost efficiencywith respect to the processing, a control method thereof, and a programthereof can be provided.

While the present invention has been described with reference toexemplary embodiments, it is to be understood that the invention is notlimited to the disclosed exemplary embodiments. The scope of thefollowing claims is to be accorded the broadest interpretation so as toencompass all such modifications and equivalent structures andfunctions.

This application claims the benefit of Japanese Patent No. 2006-149023filed May 29, 2006, which is hereby incorporated by reference herein inits entirety.

1. An information processing apparatus that calculates a resourceconsumption amount dependent on printing process of jobs using aprinting function of an image processing apparatus, comprising: anacquisition unit constructed to acquire job log data of a job printed bythe image processing apparatus, wherein the job log data includes dataabout first print setting information that was used when the jobcorresponding to the job log data was printed; an input unit constructedto input a second print setting information used for calculating aresource consumption amount as setting information changed from thefirst print setting information; a designation unit constructed todesignate a target period to be a calculation target of a resourceconsumption amount; a calculation unit constructed to calculate,according to the input by said input unit, a resource consumption amountconsumed by printing the job corresponding to the job log data acquiredby said acquisition unit for the designated target period by using theinput second print setting information; and an output unit constructedto perform outputting based on the resource consumption amountcalculated by said calculation unit, wherein the first print settinginformation is changed to the second print setting information bysetting N-up (N>=2) and double-side printing of the first print settinginformation, based on the input by said input unit.
 2. The apparatusaccording to claim 1, further comprising a transmission unit constructedto transmit to a management apparatus managing function restrictioninformation an instruction corresponding to the second print settinginformation input by the input unit, wherein the function restrictioninformation is used for restricting a usage of the printing function ofthe image processing apparatus, and wherein the management apparatusupdates the function restriction information according to theinstruction.
 3. The apparatus according to claim 1, wherein said outputunit outputs information so that a user can know a change of resourceconsumption amounts result from the change of the print setting based onthe resource consumption amount calculated by said calculation unit anda resource consumption amount actually consumed by printing said jobcorresponding to the acquired job log data by the image processingapparatus.
 4. An apparatus according to claim 1, wherein the resourceconsumption amount calculated by the calculation unit is the number ofsheets, and wherein the output unit performs the output by using a valuederived from the calculated number of sheets.
 5. An apparatus accordingto claim 4, wherein the value is a paper cost.
 6. A printing method ofcalculating a resource consumption amount dependent on printing processof jobs using a printing function of an image processing apparatus,comprising: an acquisition step of acquiring job log data of a jobprinted by the image processing apparatus, wherein the job log dataincludes data about first print setting information that was used whenthe job corresponding to the job log data was printed; an input step ofinputting a second print setting information used for calculating aresource consumption amount as setting information changed from thefirst print setting information; a designation step of designating atarget period to be a calculation target of a resource consumptionamount; a calculation step of calculating, according to the input in theinput step, a resource consumption amount consumed by printing the jobcorresponding to the job log data acquired by said acquisition step forthe designated target period by using the input second print settinginformation; and an output step of outputting based on the resourceconsumption amount calculated by said calculation step, wherein thefirst print setting information is changed to the second print settinginformation by setting N-up (N>=2) and double-side printing of the firstprint setting information, based on the input in the input step.
 7. Amethod according to claim 6, the method further comprising atransmission step of transmitting to a management apparatus managingfunction restriction information an instruction corresponding to secondprint setting information input in the input step, wherein the functionrestriction information is used for restricting a usage of the printingfunction of the image processing apparatus, and wherein the managementapparatus updates the function restriction information according to theinstruction.
 8. A method according to claim 6, wherein said output stepoutputs information so that a user can know a change of resourceconsumption amounts result from the change of the print setting based onthe resource consumption amount calculated by said calculation step anda resource consumption amount actually consumed by printing said jobcorresponding to the acquired job log data by the image processingapparatus.
 9. A method according to claim 6, wherein the resourceconsumption amount calculated in the calculation step is the number ofsheets, and wherein the output step performs the output by using a valuederived from the calculated number of sheets.
 10. A method according toclaim 9, wherein the value is a paper cost.
 11. A non-transitorycomputer-readable storage medium storing a computer-executable programfor a printing method of calculating resource consumption amountdependent on printing process of jobs using a printing function of animage processing apparatus, the program comprising: an acquisition stepof acquiring job log data of a job printed by the image processingapparatus, wherein the job log data includes data about first printsetting information that was used when the job corresponding to the joblog data was printed; an input step of inputting a second print settinginformation used for calculating a resource consumption amount assetting information changed from the first print setting information; adesignation step of designating a target period to be a calculationtarget of a resource consumption amount; a calculation step ofcalculating, according to the input in the input step, a resourceconsumption amount consumed by printing the job corresponding to the joblog data acquired by said acquisition step for the designated targetperiod by using the input second print setting information; and anoutput step of outputting based on the resource consumption amountcalculated by said calculation step, wherein the first print settinginformation is changed to the second print setting information bysetting N-up (N>=2) and double-side printing of the first print settinginformation, based on the input in the input step.
 12. A non-transitorycomputer-readable storage medium according to claim 11, the programfurther comprising a transmission step of transmitting to a managementapparatus managing function restriction information an instructioncorresponding to the second print setting information input in the inputstep, wherein the function restriction information is used forrestricting a usage of the printing function of the image processingapparatus, and wherein the management apparatus updates the functionrestriction information according to the instruction.
 13. Anon-transitory computer-readable storage medium according to claim 11,wherein said output step outputs information so that a user can know achange of resource consumption amounts result from the change of theprint setting based on the resource consumption amount calculated bysaid calculation step and a resource consumption amount actuallyconsumed by printing said job corresponding to the acquired job log databy the image processing apparatus.
 14. A non-transitorycomputer-readable storage medium according to claim 11, wherein theresource consumption amount calculated in the calculation step is thenumber of sheets, and wherein the output step performs the output byusing a value derived from the calculated number of sheets.
 15. Anon-transitory computer-readable storage medium according to claim 14,wherein the value is a paper cost.